package com.yanqu.road.entity.enums;

public enum  eMeiTuanTaskType {

    HouseClickTimes(eGamePlayerEventType.HouseClickTimes.getValue(),"JWDZG_DJQZ10_mgc1czlnk8lmzqkn", "钱庄点击次数", false),
    ;

    private int type;

    private String taskSign;

    private String des;

    private boolean extend;

    eMeiTuanTaskType(int value, String taskSign, String des, boolean extend) {
        this.type = value;
        this.taskSign = taskSign;
        this.des = des;
        this.extend = extend;
    }

    public int getType() {
        return type;
    }

    public String getTaskSign() {
        return taskSign;
    }

    public static String getTaskSignByType(int type){
        for(eMeiTuanTaskType data:  values()){
            if(data.getType() == type){
                return data.getTaskSign();
            }
        }
        return "";
    }

    public static eMeiTuanTaskType geteMeiTuanTaskTypeByType(int type){
        for(eMeiTuanTaskType data: values()){
            if(data.getType() == type){
                return data;
            }
        }
        return null;
    }

    public boolean isExtend() {
        return extend;
    }
}
